package com.jinmdz.fmis.api.admin.model.furnace;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 火化炉信息
 *
 * @author LiCongLu
 * @date 2020-03-10 16:48
 */
@ApiModel(value = "火化炉信息", description = "火化炉信息")
public class FurnaceSaveData extends BaseBean {
    /**
     * 主键
     */
    @AnValidate(name = "主键", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "主键", name = "id", position = 1)
    private Integer id;

    /**
     * 火化炉类型编码
     */
    @AnValidate(name = "火化炉类型编码", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "火化炉类型编码", name = "furnaceTypeCode", position = 2)
    private Integer furnaceTypeCode;

    /**
     * 火化炉编码
     */
    @AnValidate(name = "火化炉编码", required = true)
    @ApiModelProperty(value = "火化炉编码", name = "furnaceCode", position = 3)
    private String furnaceCode;

    /**
     * 火化炉描述
     */
    @AnValidate(name = "火化炉描述")
    @ApiModelProperty(value = "火化炉描述", name = "furnaceDescribe", position = 4)
    private String furnaceDescribe;

    /**
     * 禁用状态
     */
    @AnValidate(name = "禁用状态", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "禁用状态", name = "disableState", position = 5)
    private Integer disableState;

    /**
     * 排序
     */
    @AnValidate(name = "排序", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "排序", name = "sort", position = 6)
    private Integer sort;

    /**
     * 备注
     */
    @AnValidate(name = "备注")
    @ApiModelProperty(value = "备注", name = "remark", position = 7)
    private String remark;

    /**
     * 数据版本号
     */
    @AnValidate(name = "数据版本号")
    @ApiModelProperty(value = "数据版本号", name = "version", position = 8)
    private Long version;

    public Integer getId() {
        return id;
    }

    public FurnaceSaveData setId(Integer id) {
        this.id = id;
        return this;
    }

    public Integer getFurnaceTypeCode() {
        return furnaceTypeCode;
    }

    public FurnaceSaveData setFurnaceTypeCode(Integer furnaceTypeCode) {
        this.furnaceTypeCode = furnaceTypeCode;
        return this;
    }

    public String getFurnaceCode() {
        return furnaceCode;
    }

    public FurnaceSaveData setFurnaceCode(String furnaceCode) {
        this.furnaceCode = furnaceCode;
        return this;
    }

    public String getFurnaceDescribe() {
        return furnaceDescribe;
    }

    public FurnaceSaveData setFurnaceDescribe(String furnaceDescribe) {
        this.furnaceDescribe = furnaceDescribe;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public FurnaceSaveData setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public FurnaceSaveData setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public FurnaceSaveData setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public Long getVersion() {
        return version;
    }

    public FurnaceSaveData setVersion(Long version) {
        this.version = version;
        return this;
    }
}
